def max(a,b):
    if a>b:
        return a
    else:
        return b
a=4
b=5
print(max(a,b))

def max(a,b,c):
    if a > b:
        max_num = a
        if a > c:
            max_num = a
         else:
         max_num = c
    return max_num
    else:
        max_num = b
        if b > c:
            max_num = b
        else:
            max_num=c
    return max_num
print(max(1,4,7))

def max(a,b,c):
    if a > b:
        max_num = a
        if c > b:
            max_num = c
         else:
         max_num = b
    return max_num
    else:
        max_num = a
        if a > b:
            max_num = a
        else:
            max_num=b
    return max_num
    
def max(a,b,c):
    if a > b:
        max_num = a
        if a > c:
            max_num = a
         else:
         max_num = c
    else:
        max_num = b
        if b > c:
            max_num = b
        else:
            max_num=c
def max(a,b,c):
    if a > b:
        max_num = a
        if a > c:
            max_num = a
         else:
         max_num = c
    else:
        max_num = b
        if b > c:
            max_num = b
        else:
            max_num=c
    return max_num

def max2(a,b,c):
    if a > b:
        max_num = a
        if a > c:
            max_num = a
         else:
         max_num = c
    else:
        max_num = b
        if b > c:
            max_num = b
        else:
            max_num=c
    return max_num